package main

import "fmt"

func main() {
	m := map[int]float32{
		1: 1.1,
		2: 2.2,
		3: 3.3,
		4: 4.4,
		5: 5.5,
	}
	for k, v := range m {
		fmt.Printf("key is: %d - value is: %f\n", k, v)
	}

	capitals := map[string]string{"France": "Paris", "Italy": "Rome", "Japan": "Tokyo"}
	for k := range capitals {
		fmt.Println("Map item: Capital of", k, "is", capitals[k])
	}

}
